<%@page import="java.lang.management.MemoryPoolMXBean"%>
<%@page import="java.util.Iterator"%>
<%@page import="java.lang.management.ManagementFactory"%>
<html>
<head>
  <title>JVM Memory Monitor</title>
</head>

<body>
<%
        Runtime runtime = Runtime.getRuntime();
        System.out.println ("Free memory : "  + runtime.freeMemory());
%>


</body>
</html>